package com.lmj.springcloud.dao;

import com.lmj.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName DeptDao
 * @Date 2021/9/14 10:58
 * @Author 李明杰
 * @Description
 */
@Mapper
@Repository
public interface DeptDao {

    public boolean addDept(Dept dept);

    public Dept queryById(Long id);

    public List<Dept> queryAll();


}
